package com.moonshine.parser.finder;

public class InfoDBFactory {

	public static ClassInfoDB factory(String type, String name) {
		if (type == "sqlite") {
			return new SQLiteInfoDB(name);
		} else if (type == "realtime") {
			return new RealTimeClassInfoDB();
		}
		return null;
	}
}
